import { Column, Entity, Index } from 'typeorm'
import { BaseEntity } from './BaseEntity'

@Entity()
export class StudentDetail extends BaseEntity {

  @Index()
  @Column({ comment: '学生 id', name: 'student_id' })
  public studentId!: number

  @Column({ comment: '学生个人照片', name: 'picture_phones', length: 512, default: '[]' })
  public picturePhotos!: string

  @Column({ comment: '学生视频', name: 'picture_Videos', length: 512, default: '[]' })
  public pictureVideos!: string

  @Column({ comment: '老師评价', type: 'text' })
  public evaluate!: string

}
